/*
 * @Description: 
 * @Version: 1.0
 * @Autor: ziwei
 * @Date: 2021-07-05 16:46:29
 * @LastEditors: ziwei
 * @LastEditTime: 2021-07-07 10:49:18
 */
const BASEURL = "";
const IMGURL = "";
const SCOKETURL = "";
if (process.env.NODE_ENV === 'development') {
	// 开发环境
  // BASEURL = "";
  // IMGURL = "";
	// SCOKETURL = "";
} else if (process.env.NODE_ENV === 'production') {
	// 生产环境
  BASEURL = "";
  // IMGURL = "";
	// SCOKETURL = "";
}

//手机号验证正则表达式
const phoneRegular = /^1\d{10}$/;
//邮箱验证正则表达式
const mailRegular = /^\w+@\w+(\.[a-zA-Z]{2,3}){1,2}$/;
//密码验证正则表达式
const passwordRegular = /^[a-zA-Z0-9]{4,10}$/;

export default Object.assign({
	phoneRegular,
	mailRegular,
	passwordRegular
}, {BASEURL,SCOKETURL,IMGURL});
